package com.hnhs.mapper;

import com.hnhs.model.Product;
import com.hnhs.model.Videos;
import com.hnhs.model.VideosQuery;
import com.hnhs.pageann.PageX;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VideosMapper {
    @PageX
    public List<Videos> select (VideosQuery query);

    int insert(Videos videos);
    int update(Videos videos);
    int delete(Integer id);

}
